﻿using JTTD.Common.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace JTTD.Domain.Dtos.Integral.Reuqest
{
    /// <summary>
    /// 审核账单核算积分申请
    /// </summary>
    public class ExamineApplyRequestDto
    {
        /// <summary>
        /// 申请记录id
        /// </summary>
        [Range(1,int.MaxValue,ErrorMessage ="申请记录id不能小于1")]
        public int ApplyId { get; set; }
        /// <summary>
        /// 申请状态（审核中：0，审核成功：1，审核失败：2）
        /// </summary>
        public ApplyStateEnum ApplyState { get; set; }
        /// <summary>
        /// 拒绝理由
        /// </summary>
        [MaxLength(200,ErrorMessage ="拒绝理由不能超过100个汉字")]
        public string Reason { get; set; }
    }
}
